/* reset css */
* {margin: 0;padding: 0;}
h1,p {margin: 0;padding: 0;}
ul,ol{list-style: none;}
a {
  color: #333;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #333;
}


body {
  background-color: #eeeeee;
  color: #888;
  line-height: 1.5;
}
@media screen and (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}
/* header */
header {
  // background-color: pink;
  .logo {
    background-color:#ff6052;
    text-align: center;
    img {
      max-width: 100%;
    }
    h1 {
      padding: 10px 0;
      font-size: 25px;
      font-weight: 500;
      color: #fff;
    }
  }
  .nav {
    background-color: #fff;
    a {
      display: block;
      height: 50px;
      line-height: 50px;
      padding-left: 35px;
      font-size: 16px;
      &::before{
        vertical-align: middle;
        margin-right: 5px;
      }
      &:hover {
        background-color: #efefef;
        color: #429ad9;
      }
    }

  }
}
@media screen and (max-width: 990px) {
  header {
    .nav {
      padding-right: 0!important;
      a {
        display: block;
        line-height: 20px;
        font-size: 12px;
        text-align: center;
        padding-left: 0;
        &::before {
          display: block;
        }
      }
      li {
        float: left;
        width: 20%;
      }
    }
  }
  .news {
    li {
      &:nth-child(1) {
        width: 100%!important;
        padding-bottom: 10px;
      }
      &:nth-child(4) {
        padding-bottom: 10px;
      }
      &:nth-child(5) {
        padding-bottom: 10px;
      }
    }
  }
}
@media screen and (max-width: 767px){
  .news {
    >ul>li {
      width: 100%!important;
      padding: 0!important;
      padding-bottom: 10px!important;
    }
  }
}
/* header */



/* article */
article {
  // background-color: skyblue;
  margin-top: 15px;
  .banner {
    height: 200px;
    position: relative;
    background-color: #ff6052;
    p {
      width: 100%;
      height: 45px;
      line-height: 45px;
      position: absolute;
      bottom: 0;
      left: 0;
      background-color: rgba(0,51,71,0.7);
      font-size: 18px;
      color: #fff;
      padding-left: 15px;
    }
    ol{
      position: absolute;
      bottom: 5px;
      right: 15px;
      li {
        width: 10px;
        height: 10px;
        float: left;
        margin-right: 2px;
        border-radius: 50%;
        border: 1px solid #fff;
        &.active {
          background-color: #fff;
        }
      }
    }
  }
  .news {
    margin:15px 0;
    overflow: hidden;
    li {
      background-color: #fff;
      float: left;
      height: 150px;
      width: 25%;
      padding-left: 10px;
      &:nth-child(1){
        height: 300px;
        width: 50%;
        padding-left: 0;
        p {
          height: 40px;
          line-height: 40px;
          font-size: 14px;
        }
      }
      &:nth-child(2){
        padding-bottom: 10px;
      }
      &:nth-child(3){
        padding-bottom: 10px;

      }
      a{
        display: block;
        height: 100%;
        width: 100%;
        position: relative;
        color: #fff;
        img {
          width: 100%;
          height: 100%;
        }
        p {
          width: 100%;
          // height: 50px;
          position: absolute;
          bottom: 0;
          left: 0;
          background-color: rgba(0,0,0,.8);
          line-height: 25px;
          font-size: 12px;
          padding: 0 10px;
        }
      }
    }
    
  }
  .hot {
    padding: 20px 20px 10px;
    background-color: #fff;
    >span {
      font-size: 20px;
      color: #72697a;
      border-bottom: 2px solid #ff6b60;
    }
    ul {
      margin-top: 15px;
      li {
        line-height: 30px;
        padding: 5px 0;
        overflow: hidden;
        h5 {
          padding: 0;
          margin: 0;
          font-size: 14px;
          line-height: 30px;
          >span{
            width: 20px;
            height: 20px;
            border: 0;
            border-radius: 0;
            text-align: center;
            line-height: 20px;
            padding: 0;
            vertical-align: baseline;
            margin-right: 5px;
            color:#fff;
          }
          .btn.btn-default {
            background-color: #ccc;
          }
        }
        p{
          font-size: 12px;
          padding: 0;
          text-align: center;
          .support{
            text-decoration: underline;
          }
          .support::before{
            padding-right: 5px;
          }
        }
      }
    }
    
  }
}
/* article */

/* aside */
aside {
  margin-top: 15px;
  .flag {
    background-color: #fff;
    padding: 0 15px 15px;
    font-size: 12px;
    span {
      display: inline-block;
      background-color: #ff5e52;
      width: 80px;
      height: 25px;
      line-height: 25px;
      text-align: center;
      color: #fff;
    }
    h3 {
      color: #ff5e52;
    }
  }
  .search {
    padding: 20px;
    background-color: #fff;
    margin:15px 0;
    overflow: hidden;
    >span {
      font-size: 20px;
      color:#555;
      border-bottom: 2px solid #fd8c84;
    }
    form {
      margin-top: 10px;
      input {
        outline: none;
        border: 1px solid #ccc;
        border-right: 0;
        height: 30px;
        vertical-align: middle;
        padding: 0!important;
        &:nth-child(2){
          border: 0;
          background-color: #fd8c84;
          color:#fff;
          border-radius: 0;
          margin-left: -2px;
          text-align: center;
        }
        @media screen and(max-width: 990px){
          &:nth-child(2){
            padding: 0 15px!important;
          }
        }
      }
    }
  }
  .random_hot {
    padding: 20px;

    background-color: #fff;
    >span {
      font-size: 20px;
      color:#555;
      border-bottom: 2px solid #fd8c84;
    }
    >ul {
      margin-top: 10px;
      li {
        border-bottom: 1px solid #efefef;
        padding: 5px 0;
        a {display: block;overflow: hidden;}
      }
      .title {
        padding: 0;
        p {
          padding: 0;
        }
        >span {
          color: #888;
          font-size: 12px;
        }
      }
      .img {
        padding: 0;
        background-color: pink;
        >img {
          width: 100%;
        }
      }
    }
  }
}
/* aside */